
//  ------------------------------------------------------------------
//  config-book.js
//
//  Copyright 2012 PBS KIDS Interactive. All Rights Reserved.

PBS.KIDS.storybook.config = {
	background: {
	},
	/*audio: {
		enabled: true,
		path: "./audio/",
		name: "地上"	
	},*/
	book: {
		font: "Georgia",
		startOnPage: 0 * 2,
		pageWidth: 576, // 768,
		pageHeight: 768, // 1024,
		previousPageButton: {
			url: "images/other/prev-page-button.png",
			x: 1,
			y: 50,
			width: "85px",
			height: "85px"
		},
		nextPageButton: {
			url: "images/other/next-page-button.png",
			horizontalAlign: "RIGHT",
			x: 1,
			y: 50,
			width: "85px",
			height: "85px"
		},
		pageBackground: {
			color: "#f9f9f9"
		},
		oddPageBackground: {
			color: "#f9f9f9",
			url: "images/other/left-page-bkgrnd.png"	
		},
		evenPageBackground: {
			color: "#f9f9f9"
		},
		pageTurnDuration: 1000,
		pageSlideDuration: 200
	},
	cover: {
		background: {
			url: "images/pages/cover.jpg"
		},
		sound: {
			startTime: 1.181,
			endTime: 3.269
		},
		content: [
			{
				type: "Sprite",
				/*sound: {
					startTime: 1.181,
					endTime: 3.269
				},*/
				x: 0,
				y: 0,
				width: 100,
				height: 100,
				onPress : function()
				{
					setTimeout(book.nextPage, 2200);
				}
			}
		]
	},
	pages: []
};